package com.cskaoyan.bean.home;

import com.cskaoyan.bean.goods.wx.ListBean;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * ClassName: WxHomeListData
 * Description:
 * date: 2022/6/8 17:28
 *
 * @author bruce
 * @since JDK 8
 */
@Data
public class WxHomeListData {
    private List<ListBean> newGoodsList;
    private List<WxHomeCoupon> couponList;
    private List<WxHomeCategory> channel;
    private List<WxHomeAd> banner;
    private List<WxHomeBrand> brandList;
    private List<ListBean> hotGoodsList;
    private List<WxHomeTopic> topicList;
    private List<FloorGoodsListBean> floorGoodsList;

    public static WxHomeListData data(List<ListBean> newGoodsList, List<WxHomeCoupon> couponList,List<WxHomeCategory> channel, List<WxHomeAd> banner, List<WxHomeBrand> brandList, List<ListBean> hotGoodsList, List<WxHomeTopic> topicList,List<FloorGoodsListBean> floorGoodsList) {
        WxHomeListData wxHomeListData = new WxHomeListData();
        wxHomeListData.setNewGoodsList(newGoodsList);
        wxHomeListData.setCouponList(couponList);
        wxHomeListData.setChannel(channel);
        wxHomeListData.setBanner(banner);
        wxHomeListData.setBrandList(brandList);
        wxHomeListData.setHotGoodsList(hotGoodsList);
        wxHomeListData.setTopicList(topicList);
        wxHomeListData.setFloorGoodsList(floorGoodsList);
        return wxHomeListData;
    }
}